#ifndef GX_FR_EDITOR_PROPERTY_EDITOR_H
#define GX_FR_EDITOR_PROPERTY_EDITOR_H

#include "PropertySheet.h"
#include "ToolBox.h"
#include "Scene.h"

namespace FinalRendering
{
	namespace Editor
	{
		using namespace GxLibBasic;

		class PropertyEditor
		{
		private:
			TitledPanel * pnlProp;
			PropertySheet * sheet;
			GxRendering::UI::ComboBox * cmbClass;
			Array<Entity *> entities;
			String propPicking;
			void PickPropertyResult(String rs);
			void PropertyChanged(String name, String value, bool & succ);
			void PickProperty(String name);
		public:
			PropertyEditor(TabPage * page);
			void SelectionChanged();
		
		};
	}
}

#endif